
export function getAuthority () {
  return localStorage.getItem('hzwadmin-authority') || '';
}

export function setAuthority (authority = null) {
  const proAuthority = typeof authority === 'string' ? authority : '';
  return localStorage.setItem('hzwadmin-authority', proAuthority);
}
